package com.mybatis.session;

import java.util.List;

/**
 * @author luoc
 * @version 1.0
 * @date 2021/2/20 11:00
 * @since 1.0
 */
public interface SqlSession {

    <T> T selectOne(String statement, Object parameter);
    <T> T selectOne(String statement);
    <E> List<E> selectList(String statement);
    <E> List<E> selectList(String statement, Object parameter);
    <T> T getMapper(Class<T> type);
}
